﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using CanchitasServices.Dominio;

namespace CanchitasServices
{
    [ServiceContract]
    public interface ICanchitas
    {
        [OperationContract]
        Canchita CrearCanchita(string nombre, string dimensiones, string caracteristicas);
        [OperationContract]
        Canchita ObtenerCanchita(int codigo);
        [OperationContract]
        Canchita ModificarCanchita(int codigo, string nombre, string dimensiones, string caracteristicas);
        [OperationContract]
        void EliminarCanchita(int codigo);
        [OperationContract]
        List<Canchita> ListarCanchitas();

    }
}
